<div class="upload-wrap layui-col-space20">
    <div class="layui-col-md9 layui-col-xs9">
        <div class="imgs-wrap">
            <div class="title">
                <h3>
                    图片上传
                </h3>
            </div>
            <form action="" class="layui-form">
                <ul>
                    <li>
                        <div class="uw">
                            <img id="t1" src="__STATIC__/images/goods/nopic.png" alt="">
                            <label>排序:</label>
                            <input type="number" value="0">
                            <a href="javascript:void(0)" class="layui-btn layui-btn-primary" id="up1">上传</a>
                        </div>
                    </li>
                    <li>
                        <div class="uw">
                            <img src="__STATIC__/images/goods/nopic.png" alt="">
                            <label>排序:</label>
                            <input type="number" value="0">
                            <a href="javascript:void(0)" class="layui-btn layui-btn-primary" id="up2">上传</a>
                        </div>
                    </li>
                    <li>
                        <div class="uw">
                            <img src="__STATIC__/images/goods/nopic.png" alt="">
                            <label>排序:</label>
                            <input type="number" value="0">
                            <a href="javascript:void(0)" class="layui-btn layui-btn-primary" id="up3">上传</a>
                        </div>
                    </li>
                    <li>
                        <div class="uw">
                            <img src="__STATIC__/images/goods/nopic.png" alt="">
                            <label>排序:</label>
                            <input type="number" value="0">
                            <a href="javascript:void(0)" class="layui-btn layui-btn-primary" id="up4">上传</a>
                        </div>
                    </li>
                    <li>
                        <div class="uw">
                            <img src="__STATIC__/images/goods/nopic.png" alt="">
                            <label>排序:</label>
                            <input type="number" value="0">
                            <a href="javascript:void(0)" class="layui-btn layui-btn-primary" id="up5">上传</a>
                        </div>
                    </li>
                </ul>
            </form>
        </div>
        <a class="layui-btn next" id="post-img" href="{:think\\Url::build('waitsell','op=verify')}" lay-submit>提交</a>
    </div>
    <div class="layui-col-md3 layui-col-xs3">
        <div class="requirement">
            <h4>上传要求：</h4>
            <ul>
                <li>1. 请使用jpg\jpeg\png等格式、单张大小不超过1M的正方形图片。</li>
                <li>2. 上传图片最大尺寸将被保留为1280像素。</li>
                <li>3. 每种颜色最多可上传5张图片。</li>
                <li>4. 通过更改排序数字修改商品图片的排列显示顺序。</li>
                <li>5. 图片质量要清晰，不能虚化，要保证亮度充足。</li>
                <li>6. 操作完成后请点下一步，否则无法在网站生效。</li>
            </ul>
            <h4>建议:</h4>
            <ul>
                <li>1. 主图为白色背景正面图。</li>
                <li>2. 排序依次为正面图-&gt;背面图-&gt;侧面图-&gt;细节图。</li>
            </ul>
        </div>
    </div>
</div>

<script>
    layui.use(['form','upload'],function (form) {
        var upload = layui.upload;
//        图片上传
        uploadImgs(upload);
    });
</script>